package com.rui1024.pojo;


public class DiaryType {

    private int diaryTypeId;
    private String typeName;

    private int diaryCount; //日志数量，主页中用于统计每个类别下的博客数量

    public DiaryType() {
    }

    public DiaryType(String typeName) {
        this.typeName = typeName;
    }

    public int getDiaryTypeId() {
        return diaryTypeId;
    }

    public void setDiaryTypeId(int diaryTypeId) {
        this.diaryTypeId = diaryTypeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getDiaryCount() {
        return diaryCount;
    }

    public void setDiaryCount(int diaryCount) {
        this.diaryCount = diaryCount;
    }

    @Override
    public String toString() {
        return "DiaryType{" +
                "diaryTypeId=" + diaryTypeId +
                ", typeName='" + typeName + '\'' +
                ", diaryCount=" + diaryCount +
                '}';
    }
}
